package org.example.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import org.example.domain.Schedules;
import org.example.mapper.SchedulesMapper;
import org.example.service.ISchedulesService;
@Service
public class SchedulesServiceImpl implements ISchedulesService{

    @Autowired
    private SchedulesMapper schedulesMapper;

    @Override
    public int deleteByPrimaryKey(Integer scheduleid) {
        return schedulesMapper.deleteByPrimaryKey(scheduleid);
    }

    @Override
    public int insert(Schedules record) {
        return schedulesMapper.insert(record);
    }

    @Override
    public int insertSelective(Schedules record) {
        return schedulesMapper.insertSelective(record);
    }

    @Override
    public Schedules selectByPrimaryKey(Integer scheduleid) {
        return schedulesMapper.selectByPrimaryKey(scheduleid);
    }

    @Override
    public int updateByPrimaryKeySelective(Schedules record) {
        return schedulesMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Schedules record) {
        return schedulesMapper.updateByPrimaryKey(record);
    }

}
